<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
			<div id="introu"></div>
			
			
			<script type="text/javascript">
				
				
				function Person(){
					
					
				}//无参构造
				Person.prototype.name="朗晓明";
				Person.prototype.age=38;
				Person.prototype.job="中国内地男演员、歌手";
				Person.prototype.address="中国北京海淀区";
				Person.prototype.intro=function(){
					
					var str="姓名："+this.name+"<br/>年龄："+this.age+"<br/>工作："+this.job+"<br/>地址："+this.address;
		
		document.getElementById("introu").innerHTML=str;	
					
				}
			
				var person=new Person();
				person.intro();
				
			
			</script>
		
	</body>
</html>
